package com.blog.model;

import java.util.Date;

public class Message {
    private Integer id;

    private Integer mfrom;

    private Integer mto;

    private String content;

    private Date time;

    private Integer haveread;

    private String title;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMfrom() {
        return mfrom;
    }

    public void setMfrom(Integer mfrom) {
        this.mfrom = mfrom;
    }

    public Integer getMto() {
        return mto;
    }

    public void setMto(Integer mto) {
        this.mto = mto;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getHaveread() {
        return haveread;
    }

    public void setHaveread(Integer haveread) {
        this.haveread = haveread;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}